home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / getkey11.zip / TESTKEYS.BAT < prev   
DOS Batch File  |  1993-12-01  |  425b  |  20 lines

  1. @Echo off
  2. Cls
  3. Cls
  4. if "%KEY%"=="" goto needvar
  5. goto display
  6. :needvar
  7. SET KEY=X
  8. :display
  9. Echo Press any key you want to test GetKey with to continue, CTRL-C to abort...
  10. GETKEY
  11. echo.
  12. Echo Here's the new environment with the last keypress recorded:
  13. Echo -----------------------------------------------------------
  14. SET
  15. Echo -----------------------------------------------------------
  16. Echo.
  17. Echo.
  18. Pause
  19. TestKeys
  20.